.right-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fff;
  min-height: 0;
  overflow: hidden;
}

.panel-tabs-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  min-width: 0;
}

.right-panel-tabs {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.right-panel-tabs .ant-tabs-content-holder {
  flex: 1;
  overflow: hidden;
  background-color: #fff;
}

.right-panel-tabs .ant-tabs-content {
  height: 100%;
}

.right-panel-tabs .ant-tabs-tabpane {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

/* 自定义滚动条 */
.right-panel-tabs .ant-tabs-tabpane::-webkit-scrollbar {
  width: 6px;
}

.right-panel-tabs .ant-tabs-tabpane::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.right-panel-tabs .ant-tabs-tabpane::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 3px;
}

.right-panel-tabs .ant-tabs-tabpane::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.right-panel-tabs .ant-tabs-nav {
  margin: 0 !important;
  padding: 4px 8px !important;
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  border-top: 1px solid #d9d9d9;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.03);
}

.right-panel-tabs .ant-tabs-nav::before {
  border: none !important;
}

.right-panel-tabs .ant-tabs-tab {
  padding: 6px 12px !important;
  margin: 0 4px !important;
  font-size: 12px;
  border-radius: 4px 4px 0 0;
  transition: all 0.2s;
}

.right-panel-tabs .ant-tabs-tab:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.right-panel-tabs .ant-tabs-tab-active {
  background-color: #fff;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.right-panel-tabs .ant-tabs-tab-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.right-panel-tabs .ant-tabs-ink-bar {
  display: none;
}
